.popover {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--color-base-200);
  padding: 4px;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  position: absolute;
  top: -40px;
  right: 0;

  > button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    outline: 0;
    transition: background 0.1s var(--bezier-snappy);

    &:not(:last-of-type) {
      margin-right: 4px;
    }

    &:hover {
      background: var(--color-base-100);
      cursor: pointer;
    }

    > svg {
      width: 16px;
      height: 16px;
    }
  }
}

.wrapper {
  position: relative;
}

.trigger {
  width: 270px;
  background: var(--color-base-200);
  border-radius: 4px;
  padding: 8px 16px;
  height: 40px;
}
